package com.lingfengerick.commons.dto;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author lingfengerick
 * @since 2021/8/5 10:49 下午
 */
@Data
@ConfigurationProperties(prefix = "spring.eirck.ftp" , ignoreUnknownFields = false)
public class FtpBean {

    /**
    * ftp连接地址
    */
    private String url;
    /**
     * ftp连接端口
     */
    private Integer port;
    /**
     * ftp连接用户
     */
    private String userName;
    /**
     * ftp连接密码
     */
    private String password;
    /**
     * ftp连接默认路径
     */
    private String basePath;

    /**
     * ftp默认编码utf-8
     */
    private String encoding;


}
